package com.edz.from0507to0513apk.View;

import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import com.edz.from0507to0513apk.Base.BaseActivity;
import com.edz.from0507to0513apk.R;
import butterknife.BindView;

public class ScanCodeActivity extends BaseActivity {
    @BindView(R.id.et_text)
    EditText editText;
    @BindView(R.id.btn_create)
    Button btn_create;
    @BindView(R.id.btn_scan)
    Button btn_scan;
    @BindView(R.id.iv_code)
    ImageView iv_code;

    private int REQUEST_CODE_SCAN = 111;
    String str_code_info = null;

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {
    }

    @Override
    protected void setEvent() {

        //生成
        btn_create.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //先不管
            }
        });

        //扫描
        btn_scan.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                skipAnotherActivity(ScanCodeActivity.this,RxScannerCodeActivity.class);
            }
        });
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_scan_code;
    }
}
